function slide()
{
	if($('.current').is(':last-child')){
		$('.current').removeClass('current');
		$('#imgholder img:first-child').addClass('current');
		$('#imgholder').animate({left: '0px'});
	}
	else{
		$('.current').removeClass(function(){
			$(this).next().addClass('current');
			return 'current';
		});
		$('#imgholder').animate({left: '-=980'},{duration: 'slow', easing: 'swing' });
		}
}
var loop_handle= setInterval("slide()",'5000');
